package com.eedi.framework.template.enums;

import com.eedi.framework.common.enums.BaseEnum;
import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
public enum SysTemplateRoleTypeEnum implements BaseEnum<Integer,String> {

    /**
     * 系统默认
     */
    SYSTEM(1,"系统默认"),
    /**
     * 自定义新增
     */
    CUSTOM(2,"自定义新增");

    private final Integer code;

    private final String desc;

    SysTemplateRoleTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    @Override
    public String title() {
        return "系统角色类型模版";
    }
}
